import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

/*element*/
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

/*公共样式*/
import './assets/css/me.css'

Vue.use(ElementUI)

/*axios*/
import axios from 'axios'
// axios.defaults.baseURL = 'http://img.blogry.cn:8888/api/private/figure'
axios.defaults.baseURL = 'http://123.57.136.136:8888/api/private/figure'
// https://gitee.com/renyispace/FigureBed.gitaxios.defaults.baseURL = 'http://localhost:8888/api/private/figure'

// 将axios 挂载到Vue 原型上
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
